/****************************************************************
* @file   : inno_pcie.h
* @author : ZhangJunchao (zhangjunchao2021@gmail.com)
* @date   : 04/09/21 10:06:10
* @brief  : 
****************************************************************/
#ifndef _INNO_PCIE_H_
#define _INNO_PCIE_H_

//*******************************************************************
//					IO control related definition.
//*******************************************************************



#define INNO_MAGIC							0xEF
#define INNO_INIT							(_IO(INNO_MAGIC, 0x1000))
#define DMA_CHECK_RESULT					(_IO(INNO_MAGIC, 0x1001))

//Send message to risc-V CPU core.
#define COMM_SEND_MSG						(_IO(INNO_MAGIC, 0x1002))

//DMA C2H operation configuration.
#define SEND_DATA_DONE						(_IO(INNO_MAGIC, 0x1003))


//EP side DDR base address.
#define DDR_BASE_ADDRESS					0x80000000

#define MODEL_DATA							0x01
#define ACT_DATA							0x02



#endif